# $Id: PKGBUILD 65588 2012-02-21 09:13:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Gergely Tamas <dice@mfa.kfki.hu>

pkgname=gq
pkgver=1.3.4
pkgrel=2
pkgdesc="interactive graphical LDAP browser"
url="http://sourceforge.net/projects/gqclient"
license=("GPL")
depends=('libxml2' 'gtk2' 'libgnome-keyring' 'libglade' 'libldap>=2.4.18' 'libgpg-error' 'libgcrypt')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils')
arch=('i686' 'x86_64')
install=gq.install
source=(http://downloads.sourceforge.net/sourceforge/gqclient/$pkgname-$pkgver.tar.gz)
md5sums=('d7b1e183a3ecbd77aceea02d27f36b3e')

build() {
  cd $srcdir/$pkgname-$pkgver
  LDFLAGS=-lcrypto ./configure --prefix=/usr --disable-debugging --disable-update-mimedb
  make
  make DESTDIR=$pkgdir install
}
